#include<bits/stdc++.h>
using namespace std;
int main()
{
	int i,j,n,a[]={0,1},k=0;
	cin>>n;
	for(i=1;i<=n;i++)
	{
		for(j=1;j<=n;j++)
		{
			cout<<a[k];
			k=(k+1)%2;
		}
		k=(k+1)%2;
		cout<<endl;
	} 
    return 0;
}
